import Layout from '@/layout'
export default {
  path: '/employees',
  component: Layout,
  children: [
    {
      path: '',
      name: 'employees',
      component: () => import('@/views/employees'),
      meta: { title: 'employees', icon: 'people' }
    },
    // 员工 查看页面
    {
      path: 'detail/:id', // query传参 动态路由传参
      component: () => import('@/views/employees/detail'),
      hidden: true  // 路由不显示
    },
    // 打印
    {
      path: 'print/:id',
      component: () => import('@/views/employees/print'),
      hidden: true  // 路由不显示
    }
  ]
}
